﻿<div>
    <h1>Hi {{userName}}!</h1>
    <p><a [routerLink]="['/login']" (click) ="logout()">Logout</a></p>
</div>